﻿using System.Collections.Generic;

namespace EOrm.NpgsqlProvider
{
    /// <summary>
    /// postgres数据表
    /// </summary>
    public class PgTable : ITable
    {
        /// <summary>
        /// postgres数据表名
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// postgres数据表别名
        /// </summary>
        public string DbName { get; set; } = "";
        /// <summary>
        /// postgres数据表是否启用分割线命名
        /// </summary>
        public bool IsSeperated { get; set; } = true;
        /// <summary>
        /// postgres数据表字段集合
        /// </summary>
        public List<IField> Fields { get; set; } = new List<IField>();
    }
}
